<?php
/**
* @author: Nguyen Thanh Tung
* @date: Monday, January 27, 2014
*/
// check permission add new
if( !isset($AppUI))
{
	redirect(HOST_BACKEND);
}
$this->load->model('national_model','national');
$national = $this->national->getAll();

$this->load->model('cateleague_model','cateleague');
$cateleague = $this->cateleague->getAll();

/*$this->load->model('league_model','league');
$league = $this->league->getAll();
*/
$this->smarty->assign('national',$national);
$this->smarty->assign('cateleague',$cateleague);
//$this->smarty->assign('league',$league);
$this->smarty->display('league/add.tpl');